srcs:=$(wildcard server/*.c)
objs:=$(srcs:%.c=%.o)
all:client/client server/server
client/client:client/client.c
	gcc $^ -o $@ -g -pthread
server/server:$(objs)
	gcc $^ -o $@ -pthread
%.o:%.c
	gcc -c $^ -o $@ -g 
clean:
	$(RM) client/client server/server $(objs)
